package com.mcxx.modules.miniSalvation.salary.dao.write;

import com.mcxx.modules.miniSalvation.salary.entity.FamilySalaryEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface FamilySalaryWriteDao {


	int inserts(List<FamilySalaryEntity> familySalaryList);


	int insertIgnoreNull(FamilySalaryEntity familySalary);


	int updateIgnoreNull(FamilySalaryEntity familySalary);


	int deleteBufaSalaryByOrderId(String orderId);


	int batchDeleteByIds(List<String> familySalaryIds);


	int deleteByOrderIdAndsalaryType(String orderId);


    int copySalaryByOrderId(@Param("orderId") String orderId, @Param("newOrderId") String newOrderId, @Param("curMonth") String curMonth);


	int updateEndDate(String orderId, String endDate);


    int batchChangeExpireDate(Map<String, Object> map);


	int deleteByCustomFundPayId(List<String> customFundPayIdList);



	int updateStartDate(String orderId, String startDate);



}
